nohup ./sql.sh 1000000 > 2_sql.log 2>&1 &

sleep 30

kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0
kubectl delete po mysql-0

kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1
kubectl delete po mysql-0 mysql-1


kubectl delete po mysql-0 mysql-1 mysql-2

ps -ef | grep "sql.sh" | grep -v grep | awk -F ' ' '{print $2}'|tail -1| xargs kill -9
